package com.estate.pojo;

import java.util.ArrayList;
import java.util.List;

public class Room {
	private Integer roomId;

	private String roomNumber;//房间号

	private Integer roomUnitid;

	private Integer roomHousetypeid;//户型id

	private String roomLeasetype;//租售类型

	private Double roomCoveredArea;// 建筑面积

	private Double roomInnerArea;// 套内面积

	private String roomSalesstatus;//销控状态

	private String roomScenery;//景观

	private String roomOrientation;//朝向

	private String roomAreastate;//面积状态

	private String roomProducttype;//产品类型

	private String roomValuationmethod;//计价方式

	private String roomDecorationstandard;//装修标准
	//因为运行报错显示实体类没有这个列，所以新加的
	private Double roomDecorationunitprice;//装修单价
	
	private Double roomDecorationitprice;

	private Double roomDecorationmoney;//装修款

	private Integer roomModelhouses;//是否样板房

	private Integer roomAncillaryproperty;//是否附属房产
	
	
	private String roomStructure;//房间结构
	
	/*
	 * private Integer roomBuildingitprice;
	 * 
	 * private Integer roomInternalitprice;
	 */

	private Double roomStandardtotalprice;//标准总价

	private String roomHousetypereview;//用户点评

	private Double roomBuildingUnitPrice;//建筑单价

	private Double roomInternalUnitPrice;//套内单价

	private String ban_name;// 楼栋名称
	private String det_abbreviation;// 项目简称
	private String project_name;// 项目名称
	private String hou_name;// 户型名称
	//private String hou_structure;// 房间结构
	
	private Unit unit;//单元
	
	private String room_name;//房间名称（项目+简称+楼栋+房间号）
	
	/*这三个属性为了方便进行添加房间操作而添加的*/
	private Integer unitNum;//单元数 
	private Integer floorNum;//楼层数
	private Integer banId;//楼栋id
	private List<Room> roomlist = new ArrayList<Room>();
	public List<Room> getRoomlist() {
		return roomlist;
	}
	public void setRoomlist(List<Room> roomlist) {
		this.roomlist = roomlist;
	}
	public Integer getUnitNum() {
		return unitNum;
	}
	public Integer getFloorNum() {
		return floorNum;
	}
	public Integer getBanId() {
		return banId;
	}
	public void setUnitNum(Integer unitNum) {
		this.unitNum = unitNum;
	}
	public void setFloorNum(Integer floorNum) {
		this.floorNum = floorNum;
	}
	public void setBanId(Integer banId) {
		this.banId = banId;
	}
	/*以上三个属性为了方便进行添加房间操作而添加的*/
	
	
	
	public String getRoom_name() {
		if(null != project_name && null != det_abbreviation && null != ban_name && null!=roomNumber){
			room_name=project_name+"-"+det_abbreviation+"-"+ban_name+"-"+roomNumber;
		}
		return room_name;
	}

	public void setRoom_name(String room_name) {
		this.room_name = room_name;
	}

	public Double getRoomInternalUnitPrice() {
		return roomInternalUnitPrice;
	}

	public void setRoomInternalUnitPrice(Double roomInternalUnitPrice) {
		this.roomInternalUnitPrice = roomInternalUnitPrice;
	}

	public Double getRoomBuildingUnitPrice() {
		return roomBuildingUnitPrice;
	}

	public void setRoomBuildingUnitPrice(Double roomBuildingUnitPrice) {
		this.roomBuildingUnitPrice = roomBuildingUnitPrice;
	}

	public Integer getRoomId() {
		return roomId;
	}

	public void setRoomId(Integer roomId) {
		this.roomId = roomId;
	}

	public String getRoomNumber() {
		return roomNumber;
	}

	public void setRoomNumber(String roomNumber) { 
		this.roomNumber = roomNumber;
	}

	public Integer getRoomUnitid() {
		return roomUnitid;
	}

	public void setRoomUnitid(Integer roomUnitid) {
		this.roomUnitid = roomUnitid;
	}

	public Integer getRoomHousetypeid() {
		return roomHousetypeid;
	}

	public void setRoomHousetypeid(Integer roomHousetypeid) {
		this.roomHousetypeid = roomHousetypeid;
	}

	public String getRoomLeasetype() {
		return roomLeasetype;
	}

	public void setRoomLeasetype(String roomLeasetype) {
		this.roomLeasetype = roomLeasetype == null ? null : roomLeasetype.trim();
	}

	public Double getRoomCoveredArea() {
		return roomCoveredArea;
	}

	public void setRoomCoveredArea(Double roomCoveredArea) {
		this.roomCoveredArea = roomCoveredArea;
	}

	public Double getRoomInnerArea() {
		return roomInnerArea;
	}

	public void setRoomInnerArea(Double roomInnerArea) {
		this.roomInnerArea = roomInnerArea;
	}

	public String getRoomSalesstatus() {
		return roomSalesstatus;
	}

	public void setRoomSalesstatus(String roomSalesstatus) {
		this.roomSalesstatus = roomSalesstatus == null ? null : roomSalesstatus.trim();
	}

	public String getRoomScenery() {
		return roomScenery;
	}

	public void setRoomScenery(String roomScenery) {
		this.roomScenery = roomScenery == null ? null : roomScenery.trim();
	}

	public String getRoomOrientation() {
		return roomOrientation;
	}

	public void setRoomOrientation(String roomOrientation) {
		this.roomOrientation = roomOrientation == null ? null : roomOrientation.trim();
	}

	public String getRoomAreastate() {
		return roomAreastate;
	}

	public void setRoomAreastate(String roomAreastate) {
		this.roomAreastate = roomAreastate == null ? null : roomAreastate.trim();
	}

	public String getRoomProducttype() {
		return roomProducttype;
	}

	public void setRoomProducttype(String roomProducttype) {
		this.roomProducttype = roomProducttype == null ? null : roomProducttype.trim();
	}

	public String getRoomValuationmethod() {
		return roomValuationmethod;
	}

	public void setRoomValuationmethod(String roomValuationmethod) {
		this.roomValuationmethod = roomValuationmethod == null ? null : roomValuationmethod.trim();
	}

	public String getRoomDecorationstandard() {
		return roomDecorationstandard;
	}

	public void setRoomDecorationstandard(String roomDecorationstandard) {
		this.roomDecorationstandard = roomDecorationstandard == null ? null : roomDecorationstandard.trim();
	}

	public Double getRoomDecorationitprice() {
		return roomDecorationitprice;
	}

	public void setRoomDecorationitprice(Double roomDecorationitprice) {
		this.roomDecorationitprice = roomDecorationitprice;
	}

	public Double getRoomDecorationmoney() {
		return roomDecorationmoney;
	}

	public void setRoomDecorationmoney(Double roomDecorationmoney) {
		this.roomDecorationmoney = roomDecorationmoney;
	}

	public Integer getRoomModelhouses() {
		return roomModelhouses;
	}

	public void setRoomModelhouses(Integer roomModelhouses) {
		this.roomModelhouses = roomModelhouses;
	}

	public Integer getRoomAncillaryproperty() {
		return roomAncillaryproperty;
	}

	public void setRoomAncillaryproperty(Integer roomAncillaryproperty) {
		this.roomAncillaryproperty = roomAncillaryproperty;
	}

	/*
	 * public Integer getRoomBuildingitprice() { return roomBuildingitprice; }
	 * 
	 * public void setRoomBuildingitprice(Integer roomBuildingitprice) {
	 * this.roomBuildingitprice = roomBuildingitprice; }
	 * 
	 * public Integer getRoomInternalitprice() { return roomInternalitprice; }
	 * 
	 * public void setRoomInternalitprice(Integer roomInternalitprice) {
	 * this.roomInternalitprice = roomInternalitprice; }
	 */

	public Double getRoomStandardtotalprice() {
		return roomStandardtotalprice;
	}

	public void setRoomStandardtotalprice(Double roomStandardtotalprice) {
		this.roomStandardtotalprice = roomStandardtotalprice;
	}

	public String getRoomHousetypereview() {
		return roomHousetypereview;
	}

	public void setRoomHousetypereview(String roomHousetypereview) {
		this.roomHousetypereview = roomHousetypereview == null ? null : roomHousetypereview.trim();
	}

	public String getBan_name() {
		return ban_name;
	}

	public void setBan_name(String ban_name) {
		this.ban_name = ban_name;
	}

	public String getDet_abbreviation() {
		return det_abbreviation;
	}

	public void setDet_abbreviation(String det_abbreviation) {
		this.det_abbreviation = det_abbreviation;
	}

	public String getProject_name() {
		return project_name;
	}

	public void setProject_name(String project_name) {
		this.project_name = project_name;
	}

	public String getHou_name() {
		return hou_name;
	}

	public void setHou_name(String hou_name) {
		this.hou_name = hou_name;
	}

	/*public String getHou_structure() {
		return hou_structure;
	}

	public void setHou_structure(String hou_structure) {
		this.hou_structure = hou_structure;
	}*/

	public Double getRoomDecorationunitprice() {
		return roomDecorationunitprice;
	}

	public void setRoomDecorationunitprice(Double roomDecorationunitprice) {
		this.roomDecorationunitprice = roomDecorationunitprice;
	}

	public String getRoomStructure() {
		return roomStructure;
	}

	public void setRoomStructure(String roomStructure) {
		this.roomStructure = roomStructure == null ? null : roomStructure.trim();
	}

	public Unit getUnit() {
		return unit;
	}

	public void setUnit(Unit unit) {
		this.unit = unit;
	}
}